<template>
  <div class="top">
    <div class="block">
      <el-date-picker
        v-model="value1"
        type="date"
        placeholder="请选择日期 ~ 请选择日期"
      >
      </el-date-picker>
    </div>
    <el-input v-model="input" placeholder="请输入病人姓名/就诊卡号"></el-input>
    <el-button type="primary">搜索</el-button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      value1: "",
      input: "",
    };
  },
};
</script>

<style lang="scss" scoped>
.top {
  display: flex;
  .block {
    margin-right: 8px;
  }
  .el-input {
    margin-right: 8px;
    width: 320px;
    height: 40px;
  }
  .el-button {
    background-color: rgba(0, 110, 255, 1);
  }
}
</style>